New workspaces are added in two steps, first the minimap expands to make
room for the new thumbnail, then the thumbnail animates in. However we
currently don't queue a state update after the first step, so the second
one only happens after one is queued by some other event (like a workspace
switch).
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3748
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1716>
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
onComplete: () => {
this._setThumbnailState(thumbnail, ThumbnailState.EXPANDED);
+ this._queueUpdateStates();
},
});
});